package org.su;

import org.spring.SuApplicationContext;

/**
 * @author su
 */
public class SpringTest {
    public static void main(String[] args) throws Exception {
        SuApplicationContext applicationContext=new SuApplicationContext(AppConfig.class);

        System.out.println(applicationContext.getBean("userService"));
        System.out.println(applicationContext.getBean("userService"));
        System.out.println(applicationContext.getBean("userService"));

    }
}
